package com.lottery.material.service.portal.config.impl;

import com.lottery.material.dao.conf.AppVersionControlMapper;
import com.lottery.material.service.portal.config.AppVersionControlService;
import com.lottery.material.vo.portal.config.AppVersionControlVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Description:    APP版本控制服务实现类
 * Author:         sunny
 * CreateDate:     2019-05-15 14:08
 */
@Service
public class AppVersionControlServiceImpl implements AppVersionControlService {

    @Autowired
    AppVersionControlMapper appVersionControlMapper;

    /**
     * description: 根据平台号查询非当前平台所有版本控制列表
     * author sunny
     * createDate 2019-05-15 下午 2:09
     * @return
     * @throws Exception
     */
    @Override
    public List<AppVersionControlVo> findAllByPlatformNot(Integer appPlatform) throws Exception {
        return appVersionControlMapper.findAllByPlatformNot(appPlatform);
    }
}
